from django.contrib import admin
from waivers.models import Waiver

#TODO Fix field size of contents for waivers

class WaiversAdmin(admin.ModelAdmin):
    list_display = ('name', 'date')
    list_filter = ['date']
    date_hierarchy = 'date'
    search_fields = ['name']

admin.site.register(Waiver, WaiversAdmin)